<?php
/**
 * 缓存 Key 枚举类
 * User: 苏近之
 * Date: 2019-03-23
 * Time: 18:03
 */

namespace app\common\enum;

class CacheKeys
{

    // 短信相关
    const SMS_SEND_INTERVAL_LIMIT = 'sms:%s:send:interval:limit';
    const SMS_IP_LIMIT = 'sms:%s:ip:%s:limit';
    const SMS_PHONE_LIMIT = 'sms:%s:phone:%s:limit';
    const SMS_VERIFY_CODE = 'sms:verify:code:%s:limit';
}